﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHUTRANG.OOP.MVC
{
    class model
    {
       public bool checkusenames(userentity ojbentity)
        {
            if (ojbentity.username == "trang"&& ojbentity.pass=="123")
            {
                return true;
            }
            else
                return false;
           
        }
    }
}
